package view;

import utils.UtilsBean;

import com.opensymphony.xwork2.ActionSupport;

public class UrlAction extends ActionSupport {
	private String url;

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
	

	public String execute() throws Exception {
		if (UtilsBean.getSessionObj("loginManager") == null){
			this.url = "expired.jsp";
		}
		return SUCCESS;
	}	
}
